<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <%@include file="/static/common/commom.jsp" %>
    <script src="/static/js/dictionary.js"></script>
</head>
<body>

<%--<div id="cc" class="easyui-layout" fit="true">
    <div data-options="region:'west',title:'字典目录',split:true,border:false" style="width:555px;">
        <table id="dictionary_dataGrid"></table>
    </div>

    <div data-options="region:'center',title:'字典明细',border:false" style="padding:5px;">
        <table id="dictionarysn_dataGrid"></table>
    </div>
</div>--%>

<div class="easyui-layout" data-options="fit:true" >
    <div data-options="region:'west',
    split:true,title:'字典目录'" style="width:50%;">
        <table id="dictionary_dataGrid"></table>
    </div>
    <div data-options="region:'east',
    title:'字典明细'"style="width:50%;" >
        <table id="dictionarysn_dataGrid" ></table>
    </div>

</div>


<%--目录--%>
<div id="dictionary_tb">
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true" data-cmd="add">新增</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" data-cmd="edit">编辑</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" data-cmd="del">删除</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true" data-cmd="reload">刷新</a>
</div>

<div id="dictionary_btns">
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-save',plain:true" data-cmd="save">保存</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-cancel',plain:true" data-cmd="cancel">取消</a>
</div>

<%--明细--%>
<div id="dictionarysn_tb">
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true" data-cmd="addsn">新增</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" data-cmd="editsn">编辑</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" data-cmd="delsn">删除</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true" data-cmd="reloadsn">刷新</a>
</div>

<div id="dictionarysn_btns">
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-save',plain:true" data-cmd="savesn">保存</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-cancel',plain:true" data-cmd="cancelsn">取消</a>
</div>

<%--目录--%>
<div id="dictionary_dialog">
    <form id="dictionary_form" method="post">
        <input type="hidden" name="id">
        <table align="center">
            <tr>
                <td>字典名称:</td>
                <td><input type="text" name="name" class="easyui-textbox" prompt="请输入字典名称"></td>
            </tr>
            <tr>
                <td>字典编码:</td>
                <td><input type="text" name="sn" class="easyui-textbox" prompt="请输入字典编码"></td>
            </tr>
            <tr>
                <td>字典简介:</td>
                <td><input type="text" name="info" class="easyui-textbox" prompt="请输入字典简介"
                           data-options="height:70"
                ></td>
            </tr>
        </table>
    </form>
</div>

<%--明细--%>
<div id="dictionarysn_dialog">
    <form id="dictionarysn_form" method="post">
        <input type="hidden" name="id">
        <table align="center">
            <tr>
                <td>目录编码:</td>
                <td><input id="dictionarysn_sn" type="text" name="sn" class="easyui-textbox" prompt="请输入目录编码"></td>
            </tr>
            <tr>
                <td>明细名称:</td>
                <td><input type="text" name="name" class="easyui-textbox" prompt="请输入明细名称"></td>
            </tr>
            <tr>
                <td>明细简介:</td>
                <td><input type="text" name="info" class="easyui-textbox" prompt="请输入明细简介"
                           data-options="height:70"
                ></td>
            </tr>
        </table>
    </form>
</div>

</body>
</html>